package com.mysterymall.Model.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @ClassName com.mysterymall.Model.Entity
 * @Description
 * @Author HuangWX
 * @Time 2023/12/08  09:55
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "address")
public class Address extends BaseEntity implements Serializable {
    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "nation")
    private String nation;

    @TableField(value = "`name`")
    private String name;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "addressInfo")
    private String addressinfo;

    @TableField(value = "address_detail")
    private String addressDetail;

    private static final long serialVersionUID = 1L;
}